package com.egao.common.module.company.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lym
 * @date 2023/3/10 10:18
 */
@Data
@ApiModel(description = "单位问卷选项结果")
@TableName("company_questionnaire_option")
public class CompanyQuestionnaireOption implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("单位问卷ID")
    private Integer companyQuestionnaireId;

    @ApiModelProperty("选项序号")
    private Integer number;

    @ApiModelProperty("选项标题")
    private String title;

    @ApiModelProperty("选择结果 分数")
    private Integer score;

    @ApiModelProperty("选择结果 学历")
    private String xl;

    @ApiModelProperty("选择结果 专业")
    private String major;

    @ApiModelProperty("选择结果 单选字符串答案")
    private String result;

    @ApiModelProperty("添加时间")
    private Date createTime;

    @ApiModelProperty("编辑时间")
    private Date updateTime;

    @ApiModelProperty("逻辑删除 0正常 1删除")
    @TableLogic
    private Integer deleted;


}
